/**
 *
int = 4, 12
short = 2, 6
double = 8, 24
 *
 */
#include<stdio.h>

struct A
{
	char a;
	int b;
	char c;
	char d;
};

struct B
{
	char a;
	short b;
	char c;
	char d;
};

struct C
{
	char a;
	double b;
	char c;
	char d;
};

int main(){
	printf("int = %ld, %ld\n",sizeof(int), sizeof(struct A));
	printf("short = %ld, %ld\n",sizeof(short), sizeof(struct B));
	printf("double = %ld, %ld\n",sizeof(double), sizeof(struct C));
}
